import  axios from  'axios'

export default class  Hr_empService{
    static hr_empService = null

    static getInstance(){
        if(this.hr_empService == null){
            this.hr_empService = new Hr_empService()
        }
        return this.hr_empService
    }

    //查询所有员工
    getEmps(){
        return axios.get(`http://localhost/hrEmps/Y`)
    }

    getBigData(id){
        console.log(id)
        return axios.get(`http://localhost/hrEmps/${id}`)
    }


}
